package com.example.toolsdemo.service;

import com.example.toolsdemo.common.ServerResponse;
import com.example.toolsdemo.dataobject.Orders;

/**
 * @author danyubin
 */
public interface OrderService {

    Orders getOrder(String id);

    Integer saveOrder(Orders order);

    ServerResponse modifyOrder(Orders order);

    Integer deleteOrder(String id);

    ServerResponse getOrdersByUserId(String userId, Integer pageNum, Integer pageSize);
}
